package com.dnjn.happiness.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dnjn.happiness.biz.domain.AdviceAssign;
import com.dnjn.happiness.biz.mapper.AdviceAssignMapper;
import com.dnjn.happiness.biz.service.IAdviceAssignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 建议分配表Service业务层处理
 *
 * @author happiness
 * @date 2023-10-16
 */
@Service
public class AdviceAssignServiceImpl extends ServiceImpl<AdviceAssignMapper, AdviceAssign> implements IAdviceAssignService {
    @Autowired
    AdviceAssignMapper adviceAssignMapper;

    @Override
    public List<AdviceAssign> getAssignByAdviceId(Long adviceId) {
        List<AdviceAssign> adviceAssignList = adviceAssignMapper.getAssignByAdviceId(adviceId);
        return adviceAssignList;
    }
}
